import React from 'react';
import { Link } from 'dva/router';
import { Card } from 'antd'
import { TimelineChart } from '../../components/Charts';
const chartData = [];
for (let i = 0; i < 20; i += 1) {
  chartData.push({
    x: (new Date().getTime()) + (1000 * 60 * 30 * i),
    y1: Math.floor(Math.random() * 100) + 1000,
    y2: Math.floor(Math.random() * 100) + 10,
  });
}
export default () => (
  <div >
    <Card title="用户信息" style={{ marginBottom: 24 }} bordered={false} >
      <div style={{ padding: '0 24px' }}>
        <TimelineChart
          height={400}
          data={chartData}
          titleMap={{ y1: '客流量', y2: '支付笔数' }}
        />
      </div>
    </Card>
  </div>

);
